<div class="pageContent">
	<form method="post" action="<?php echo $action ?>" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>方法名称：</label>
				<input name="name" type="text" size="30" value="<?php echo set_value('name', isset($node['name'])? $node['name']:''); ?>" class="required" alt="请填入节点名称"/>
			</p>
			<p>
				<label>节点名称：</label>
				<input name="title" type="text" size="30" value="<?php echo set_value('title', isset($node['title'])? $node['title']:''); ?>" class="required" alt="请填入方法名称"/>
			</p>
			<p>
				<label>状态：</label>
				<input type="radio" name="state" value="1" <?php if (isset($node['state']) && $node['state'] == 1): ?>
					checked
				<?php endif ?> />开启
				<input type="radio" name="state" value="0" <?php if (isset($node['state']) && $node['state'] == 0): ?>
					checked
				<?php endif ?>/>关闭
			</p>
			<p>
				<label>排序：</label>
				<input name="sort" type="text" size="30" value="" />
			</p>

		</div>
		<input type="hidden" name="isajax" value="true">
		<input type="hidden" name="pid" value="<?php echo $pid ?>">
		<input type="hidden" name="nid" value="<?php echo isset($node['nid']) ? $node['nid'] : 0 ?>">
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>


